package entity;

import java.io.Serializable;

/**
 * 测试实体类.
 *
 * @author 宫新程
 * @since 2018/12/1 1:14 PM
 */
public class User implements Serializable {

  private String username;
  private String password;
  private int age;

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public int getAge() {
    return age;
  }

  public void setAge(int age) {
    this.age = age;
  }

  @Override
  public String toString() {
    return "User{"
        + "username='"
        + username
        + '\''
        + ", password='"
        + password
        + '\''
        + ", age="
        + age
        + '}';
  }
}
